//
//  Model.swift
//  BaseSwift
//
//  Created by ghwang on 2018/9/29.
//  Copyright © 2018年 ghwang. All rights reserved.
//

import Foundation

struct HomeMapModel:HandyJSON {
    
    var latitude:String?
    var longitude:String?
    var id:String?
}

struct LoginResult :HandyJSON {
    
       var mobile: String?
       var userId: String?
       var userName: String?
       var unPayOrderAmount: String?
       var radomNum: String?
       var appToken: String?
       var headImg: String?
       var sex: String?
       var nickName: String?
       var birthDay: String?

}
class StockM: HandyJSON {
    
    required init() {
        

        
    }
    var modifyTime: String?
    var saleDate: String?
    var deleted: String?
    var id: String?
    var childPrice: Float = 0.00
    var adultPrice: Float = 0.00
    var createById: String?
    var modifyById: String?
    var pdtId: String?
    var createTime: String?
    var proId: String?
    var markPrice:String?
}
struct Page<T>:HandyJSON {
    
    var pages:Int = 0
    var list:Array<T> = Array()
    var total:Int = 0
    var pageNum = 0
    var pageSize = 0
    var size = 0
    var startRow = 0
    var endRow = 0
    var nextPage = false
    var hasNextPage = false
    
    
}
class CategoryVo :HandyJSON {
    
    required init() {
        
    }
    
   var latitude: String?
   var videoNum: String?
   var areaId: String?
   var proNumber: String?
   var typeCode: String?
   var id: String?
   var startLong: String?
   var keyWord: String?
   var appraisesNum: String?
   var context: String?
   var proAddress: String?
   var proVideo: String? = ""
   var proCode: String?
   var sayNum: String?
   var proImg: String?
   var startLat: String?
   var type: String?
   var classId: String?
   var tag: String?
   var sortNo: String?
   var colNum: String?
   var distance: String?
   var longitude: String?
   var proName: String?
   var topFlag: String?
   var routeInfoDtoList: String?
   var tags: [String]? = Array()
   var iconUrl: String?
   var styleCode: String?
   var imgDetail: String?
   var videoDate: String?
   var projectDetailDtoList: String?
   var handdrawnUrl: String?
   var proOuturl: String?
   var posterImg: String? = ""
    
    var isSelect = false
    
    var projectDetailList: [ProjectDetailList]? = Array()
    var routeInfoList: [RouteInfoVo]? = Array()
    var platfromProject: PlatfromProject?
    
    var isActivity = false
    var pdtId: String? = ""

}
class RouteInfoVo:HandyJSON {
    
    required init() {
        
    }
    var id: String?
    var createById: String?
    var imgUrl: String? = ""
    var longitude: String?
    var modifyById: String?
    var latitude: String?
    var projId: String?
    var title: String?
    var stepNum: Int = 0
    var deleted: String?
    var createTime: String?
    var address: String?
    var tag: String? = ""
    var modifyTime: String?
    var linkId: String?
    var stepName: String?
    var isSelect:Bool = false
    var isActivity = false
    var pdtId: String? = ""
    
}
struct ProjectDetailList :HandyJSON {
    
       var modifyTime: String?
       var projId: String?
       var deleted: String?
       var id: String?
       var conUrl: String? = ""
       var createById: String?
       var conNo: Int = 0
       var modifyById: String?
       var type: String?
       var videoUrl: String?
       var createTime: String?

}

struct PlatfromProject :HandyJSON {
       var typeCode: String?
       var modifyById: String?
       var modifyTime: String?
       var context: String?
       var proCode: String?
       var videoNum: Int = 0
       var classId: String?
       var deleted: String?
       var proName: String?
       var proVideo: String?
       var proOuturl: String?
       var tag: String?
       var videoDate: String?
       var imgDetail: String?
       var type: String?
       var iconUrl: String?
       var proNumber: String?
       var id: String?
       var latitude: String?
       var proAddress: String?
       var proImg: String?
       var longitude: String?
       var sayNum: Int = 0
       var areaId: String?
       var styleCode: String?
       var handdrawnUrl: String?
       var colNum: String?
       var topFlag: String?
       var createById: String?
       var createTime: String?
       var posterImg: String? = ""
       var sortNo: String?
    var mobile: String? = ""

}


struct ProductVo :HandyJSON {
    
   var pdtClass: String?
   var pdtClassName: String?
   var basePrice: String?
   var pdtName: String?
   var tags: String?
   var payType: String?
   var topFlag: String?
   var pdtImg: String?
   var sayNum: String?
   var sortNum: String?
   var id: String?
   var colNum: String?
   var playNum: String?
    var salePrice: Float? = 0.00
   var basePlace: String?
   var price: String?
    
    var productPicList: [ProductPicList]? = Array()
    var productTripList: [ProductTripList]?  = Array()
    var productProList: [ProductProList]? = Array()
    var productDetailList: [ProductDetailList]? = Array()
    var productDailyPriceList:[StockM]? = Array()
    

}
struct ScenicVo: HandyJSON {
    
    var startLong: String?
    var videoNum: String?
    var handdrawnUrl: String?
    var proNumber: String?
    var typeCode: String?
    var id: String?
    var appraisesNum: String?
    var proOuturl: String?
    var posterImg: String?
    var context: String?
    var proAddress: String?
    var proVideo: String?
    var proCode: String?
    var sayNum: String?
    var proImg: String?
    var startLat: String?
    var type: String?
    var classId: String?
    var tag: String?
    var sortNo: String?
    var colNum: String?
    var distance: String?
    var longitude: String?
    var proName: String?
    var topFlag: String?
    var mobile: String?
    var routeInfoDtoList: String?
    var tags: String?
    var iconUrl: String?
    var styleCode: String?
    var imgDetail: String?
    var videoDate: String?
    var projectDetailDtoList: String?
    var keyWord: String?
    var areaId: String?
    var latitude: String?

}
struct TopPic:HandyJSON {
    
    var userId: String?
    var content: String? = ""
    var userName: String?
    var id: String?
    var sayNum: String?
    var title: String?
    var userHead: String?
    var status: String?
    var userPostingImgList: [userPostingImgVo] = Array()
    var userPostingReplyList:[CommentVo] = Array()
    var viewNum: String?
    var topFlag: String?
    var createTime:String?
    
}
struct userPostingImgVo:HandyJSON {
    
    var modifyTime: String?
    var postId: String?
    var deleted: String?
    var id: String?
    var imgUrl: String?
    var createById: String?
    var modifyById: String?
    var createTime: String?
    
}


struct Classisy :HandyJSON {
    
   var modifyTime: String?
   var deleted: String?
   var id: String?
   var iconUrl: String? = ""
   var createById: String?
   var modifyById: String?
   var type: String?
   var createTime: String?
   var name: String?
    
   var className: String?
   var classCode: String?

}
struct RouteVo :HandyJSON {
    
   var latitude: String?
    var videoNum: String = "0"
   var areaId: String?
   var proNumber: String?
   var typeCode: String?
   var id: String?
   var startLong: String?
   var keyWord: String?
   var appraisesNum: String?
   var context: String?
   var proAddress: String?
   var proVideo: String?
   var proCode: String?
   var sayNum: String = "0"
   var proImg: String?
   var startLat: String?
   var type: String?
   var classId: String?
   var tag: String?
   var sortNo: String?
   var colNum: String?
   var distance: String?
   var longitude: String?
   var proName: String?
   var topFlag: String?
   var routeInfoDtoList: String?
   var tags: String?
   var iconUrl: String?
   var styleCode: String?
   var imgDetail: String?
   var videoDate: String?
   var projectDetailDtoList: String?
   var handdrawnUrl: String?
   var proOuturl: String?
   var posterImg: String = ""
}


struct ProductPicList :HandyJSON {
    
       var modifyTime: String?
       var sortNum: Int = 0
       var deleted: String?
       var id: String?
       var createById: String?
       var modifyById: String?
       var pdtId: String?
       var type: String?
       var createTime: String?
       var url: String?

}

class ProductTripList :HandyJSON {
    
    required init() {
        
    }
    
       var id: String?
       var scenicPics: String? = ""
       var scenicContext: String?
       var createById: String?
       var trafficContext: String?
       var modifyById: String?
       var deleted: String?
       var createTime: String?
       var startPlace: String?
       var days: String = ""
       var modifyTime: String?
       var traffic: String?
       var pdtId: String?
       var lunch: String?
       var hotel: String?
       var endPlace: String?
    var scenic: String? = ""
    var isOpen: Bool = false
    var realSceHeight: CGFloat = 0
    var oriSceHeight: CGFloat = 65
    

}
struct ActivisProduct: HandyJSON {
    
    var id: String?
    var createById: String?
    var context: String?
    var modifyById: String?
    var longitude: String?
    var latitude: String?
    var title: String?
    var deleted: String?
    var createTime: String?
    var icon: String?
    var modifyTime: String?
    var pdtId: String?

    
}


struct ProductProList :HandyJSON {
       var modifyTime: String?
       var occDate: String?
       var deleted: String?
       var id: String?
       var childPrice: String?
       var adultPrice: String?
       var createById: String?
       var modifyById: String?
       var pdtId: String?
       var createTime: String?
       var pdtName: String?

}

struct ProductDetailList :HandyJSON {
       var id: String?
       var videoUrl: String?
       var topClass: String?
       var createById: String?
       var modifyById: String?
       var topCode: String?
       var type: String?
       var pdtName: String?
       var deleted: String?
       var createTime: String?
       var conNo: Int = 0
       var modifyTime: String?
       var conUrl: String? = ""
       var pdtId: String?

}

struct FavVo:HandyJSON {
    
    var id: String?
    var createById: String?
    var pdtClass: String?
    var pdtDesc: String?
    var modifyById: String?
    var pdtImg: String? = ""
    var type: String?
    var tags: String?
    var userId: String?
    var deleted: String?
    var createTime: String?
    var pdtName: String?
    var modifyTime: String?
    var pdtId: String?
    var status: String?
}
struct CommentVo :HandyJSON{
 
  var id: String?
  var content: String?
  var createById: String?
  var modifyById: String?
  var type: String?
  var userName: String?
  var deleted: String?
  var createTime: String?
  var proId: String?
  var modifyTime: String?
  var imgs: String?
  var headImg: String?
    
    var userId: String?
    var userHead: String?
    var postId: String?

    
}
struct DayPriceVo:HandyJSON {
    
    var modifyTime: String?
    var saleDate: String?
    var deleted: String?
    var id: String?
    var childPrice: String?
    var adultPrice: String?
    var createById: String?
    var modifyById: String?
    var pdtId: String?
    var createTime: String?
    var proId: String?
    

}
struct OrderVo:HandyJSON {
    
    var modifyById: String?
         var modifyTime: String?
         var pdtId: String?
         var pdtName: String?
         var orderStatus: String?
         var amountChildren: String? = "0"
         var amountAdultPrice: String?
         var proId: String?
         var payType: String = ""
         var amountAll: String?
         var deleted: String?
         var payTime: String?
         var proName: String?
         var playDate: String?
         var linkName: String?
         var linkTel: String?
         var saleType: String?
         var id: String?
         var amountChildrenPrice: String?
         var orderNo: String?
         var pdtType: String?
         var payOverTime: String?
         var email: String?
         var amountAdult: String? = "0"
         var payStatus: String?
         var createById: String?
         var createTime: String?
         var userName: String?
         var remark: String?
         var userId: String?
         var pdtImg:String = ""
    
    
}
struct ZiXunVo:HandyJSON {
    
    var id: String?
    var reTime: String?
    var createById: String?
    var reName: String?
    var modifyById: String?
    var pdtName: String?
    var deleted: String?
    var createTime: String?
    var userId: String?
    var userName: String?
    var modifyTime: String?
    var reContent: String?
    var pdtId: String?
    var content: String?
}
struct ReContentVo:HandyJSON {
    
    var id: String?
    var reTime: String?
    var createById: String?
    var reName: String?
    var modifyById: String?
    var pdtName: String?
    var deleted: String?
    var createTime: String?
    var userId: String?
    var userName: String?
    var modifyTime: String?
    var pdtId: String?
    var content: String?
}


